<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language ?>" lang="<?php print $language ?>">
  <head>
    <title><?php print $head_title ?></title>
    <?php print $head ?>
    <?php print $styles ?>

    <!-- Getting Blueprint styles -->
         
    <style type="text/css" media="screen">@import "<?php print base_path() . path_to_theme() ?>/blueprint/screen.css";</style>
    <style type="text/css" media="print">@import "<?php print base_path() . path_to_theme() ?>/blueprint/print.css";</style>

    <!-- Getting Trip.ee custom styles -->
    
    <style type="text/css" media="screen">@import "<?php print base_path() . path_to_theme() ?>/trip.css";</style>

    <?php print $scripts ?>
  </head>
  <body>
	<div class="container">
		<h1><?php print '<a href="'. check_url($base_path) .'" title="'. $site_title .'">' . $site_name . '</a>'; ?></h1> 
    	<hr />
        <?php if (isset($primary_links)) : ?>
          <?php print theme('links', $primary_links, array('class' => 'links primary-links')) ?>
		<hr />
        <?php endif; ?>
  		
		<div>
          <?php if ($breadcrumb): print $breadcrumb; endif; ?>
 
          <?php if ($title): print '<h2>'. $title .'</h2>'; endif; ?>
          <?php if ($tabs): print '<div>' . $tabs .'</div>'; endif; ?>
          <?php if ($help): print $help; endif; ?>
          <?php if ($messages): print $messages; endif; ?>
          <?php print $content ?>
  		</div>
	</div>

  <?php print $closure ?>
  </body>
</html>
